﻿using System.Web.Mvc;
using System.ComponentModel.DataAnnotations;

namespace IndignadoFramework.BackOffice.Models
{
    public class MovimientoModel
    {
        public int Id { get; set; }

        [Required]
        [Display(Name = "Nombre Movimiento")]
       // [RegularExpression(@"(\S)+", ErrorMessage = "White space is not allowed.")]
        public string MovimientoNombre { get; set; }

        [Required]
        [Display(Name = "Coordenada X")]
        [RegularExpression(@"(\S)+", ErrorMessage = "White space is not allowed.")]
        public string MovimientoUbicacionX { get; set; }

        [Required]
        [Display(Name = "Coordenada Y")]
        [RegularExpression(@"(\S)+", ErrorMessage = "White space is not allowed.")]
        public string MovimientoUbicacionY { get; set; }

        [Required]
        [Display(Name = "Descripción del movimiento")]
       // [RegularExpression(@"(\S)+", ErrorMessage = "White space is not allowed.")]
        public string MovimientoDescripcion { get; set; }

        [Required]
        [Display(Name = "Logo")]
        [RegularExpression(@"(\S)+", ErrorMessage = "White space is not allowed.")]
        public string MovimientoLogo { get; set; }

        [Required]
        [Display(Name = "Estilos")]
        [RegularExpression(@"(\S)+", ErrorMessage = "White space is not allowed.")]
        public string MovimientoEstiloCSS { get; set; }

        [Required]
        [Display(Name = "Recursos compartidos por fecha (M)")]
        [RegularExpression(@"(\S)+", ErrorMessage = "White space is not allowed.")]
        public int MovimientoConstM { get; set; }

        [Required]
        [Display(Name = "Recursos compartidos por ranking (N)")]
        [RegularExpression(@"(\S)+", ErrorMessage = "White space is not allowed.")]
        public int MovimientoConstN { get; set; }

        [Required]
        [Display(Name = "Máximo marcas inadecuado (X)")]
        [RegularExpression(@"(\S)+", ErrorMessage = "White space is not allowed.")]
        public int MovimientoConstX { get; set; }

        [Required]
        [Display(Name = "Máximo contenidos dados de baja (Z)")]
        [RegularExpression(@"(\S)+", ErrorMessage = "White space is not allowed.")]
        public int MovimientoConstZ { get; set; }

        [Required]
        [Display(Name = "Host:")]
        [RegularExpression(@"(\S)+", ErrorMessage = "White space is not allowed.")]
        public string MovimientoHost { get; set; }
        
    }
}